package com.fzebu.fastboot.form.bean;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author Jack
 */
@Setter
@Getter
@ToString
public class FieldBean {
    private String id;
    private String fieldLabel;
    private String fieldName;
    private String fieldDbType;
    private String fieldHtmlType;
    private String annotationText;
    private String fieldType;

    public void setAnnotationText(String annotationText) {
        if (this.annotationText == null) {
            this.annotationText = annotationText;
        } else {
            this.annotationText += annotationText;
        }
    }
}